package org.framework.core.orm.support;

import org.framework.core.orm.IPage;

public class MySQLPage implements IPage {

	public String getLimitString(String paramString, Integer paramInt1, Integer paramInt2) {
		if(paramInt2 == null)
			return paramString;
		StringBuffer sql = new StringBuffer(paramString);
		sql.append(" LIMIT ").append(paramInt1).append(",").append(paramInt2);
		return sql.toString();
	}
	
}
